package com.ybzl.mini.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/minio")
public class TestOOm {

    @GetMapping("/test")
    public void get(){

        List<byte[]> aa = new ArrayList<>();

        while (true){
            aa.add(new byte[10 * 1024 * 1024]);
        }
    }
}
